/**
 * @program: pettyloan
 * @ClassName RepayRecordService
 * @description:
 * @author: 汪江
 * @create: 2022-12-06 15:45
 **/
package com.wn.pettyloan.service;

import com.wn.pettyloan.dto.PayDto;
import com.wn.pettyloan.dto.RepayRecordDto;
import com.wn.pettyloan.entity.RepayRecord;
import com.wn.pettyloan.po.OverdueInfo;
import com.wn.pettyloan.vo.RepayRecordVO;

import java.util.List;

public interface RepayRecordService {
    List<OverdueInfo> overdueInfo(List list);

    List<RepayRecordVO> companyRepayRecord(RepayRecordDto repayRecordDto);
    int updateStatus(List list);
    List<RepayRecord> inspectStatus();
    boolean paySuccess(PayDto payDto);
    String selRepayMethodNameById(PayDto payDto);

    RepayRecordVO selContractByid(RepayRecordDto repayRecordDto);

    List<RepayRecordVO> selRepayRecordById(RepayRecordDto repayRecordDto);

    int deleteByPrimaryKey(Long id);

    int insert(RepayRecord record);

    int insertSelective(RepayRecord record);

    RepayRecord selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(RepayRecord record);

    int updateByPrimaryKey(RepayRecord record);
}
